import React, { Component } from 'react';
import styles from './style.scss';
import { Badge } from 'antd';

class Badges extends Component {
    render() {
        const { className, ...others } = this.props;
        let classNames = `${styles.badge}`;
        className && (classNames += ` ${className}`);
        return <Badge className={classNames} {...others} />;
    }
}

export default Badges;